package signal;

public class Task implements Runnable{
    @Override
    public void run() {
        while (SignalManager.status){
            try {
                System.out.println("***do job now***");
                Thread.sleep(3000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }

    }
}
